home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / lang / SmallEiffel.lha / SmallEiffel / man / system.txt < prev   
Text File  |  1998-12-22  |  3KB  |  87 lines

  1.  
  2.                             System configuration
  3.                                       
  4.    System customization is performed thanks to the "system.se" file which
  5.    must be in the sub-directory "sys" of the installation directory.
  6.    
  7.    When the system name is correctly set in the file "system.se",
  8.    SmallEiffel performs some automatic customizations. For example, if
  9.    the "system.se" file contains the string "DOS", SmallEiffel uses the
  10.    suffix ".BAT" for script files and the suffix ".EXE" for executables
  11.    files.
  12.    
  13.    The "sys" directory contains various files to customize SmallEiffel
  14.    with the system, the C compiler and the linker used as well as the
  15.    default loadpath used to look for Eiffel source code.
  16.    
  17.    The SmallEiffel environment variable
  18.    
  19.    Environment variable SmallEiffel must be set with the absolute path of
  20.    the file "system.se" which is in the sub-directory "sys" of the
  21.    installation directory.
  22.    Under a UNIX-like system, the value of the SmallEiffel environment
  23.    variable may be for example: /usr/lib/SmallEiffel/sys/system.se
  24.    The contents of the file "system.se" indicate the [1]system you are
  25.    running.
  26.    
  27.    File system.se
  28.    
  29.    The first word of file "system.se" is used by SmallEiffel to know
  30.    which operating system is running. Currently supported values are:
  31.    
  32.    UNIX for all UNIX-like systems, GNU/Linux, HP-UX, Solaris, SunOS,
  33.    Irix, XENIX, etc.
  34.    Windows for Windows 95 and Windows NT systems (using long filenames).
  35.    DOS for MS-DOS systems or Windows 3.x (using short filenames, with 8.3
  36.    scheme).
  37.    Macintosh for Macintosh systems (68K and PPC)
  38.    BeOS for the BeOS system
  39.    Amiga for the Amiga system
  40.    OS2 for IBM OS/2 systems
  41.    VMS for the VMS systems
  42.    
  43.    You must choose the appropriate system name in the previous list and
  44.    update file "system.se". To be sure that the previous list is
  45.    up-to-date, just put a bad system name in the file "system.se" and
  46.    then run for example command compile.
  47.    
  48.    The system name will then be used to access various files
  49.    corresponding to the system you chose. For example, if you declared
  50.    "Windows", only files with extension "Windows" will be considered
  51.    (e.g. files like "loadpath.Windows", "compiler.Windows",
  52.    "linker.Windows", etc...).
  53.    
  54.    File loadpath.system
  55.    
  56.    This file is used to set the default global load path for Eiffel
  57.    source code. As seen previously, only file "loadpath.UNIX" is
  58.    considered when content of file "system.se" is UNIX. All commands are
  59.    using the same algorithm to search Eiffel source code (see [2]finder
  60.    for more information).
  61.    
  62.    File compiler.system
  63.    
  64.    To set the default C compiler and its default options. Only the first
  65.    line of this file is read.
  66.    
  67.    File linker.system
  68.    
  69.    To set the default linker and its default options. Only the first line
  70.    of this file is read.
  71.    
  72.    File o_suffix.system
  73.    
  74.    The first word of this file indicates the suffix for object files.
  75.    Usually ".o" under UNIX, ".OBJ" for VMS, may be ".o" or ".obj" for
  76.    Windows, ...
  77.    
  78.                                    [Line]
  79.    Copyright © Dominique COLNET and Suzanne COLLIN - [3]<colnet@loria.fr>
  80.               Last update: Sunday December 6th, 1998, by OZ. 
  81.  
  82. References
  83.  
  84.    1. file://localhost/home/colnet/SmallEiffel/man/man/system.html
  85.    2. file://localhost/home/colnet/SmallEiffel/man/man/finder.html#algorithm
  86.    3. mailto:colnet@loria.fr
  87.